projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e33234a
)
Another place to produce debugging output in etags
author
Eli Zaretskii
<eliz@gnu.org>
Mon, 11 Sep 2017 16:44:38 +0000
(19:44 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Mon, 11 Sep 2017 16:44:38 +0000
(19:44 +0300)
* lib-src/etags.c (Ruby_functions): One more place to print
debugging output under --debug.
lib-src/etags.c
patch
|
blob
|
history
diff --git
a/lib-src/etags.c
b/lib-src/etags.c
index df51c0b4f82f0b0c734bebccac968f86e4e3fb1b..b4ce43de4f6914cbb49f71ebec36a7c5f6933c9a 100644
(file)
--- a/
lib-src/etags.c
+++ b/
lib-src/etags.c
@@
-4974,6
+4974,9
@@
Ruby_functions (FILE *inf)
memcpy (wr_name + name_len - 1, "=", 2);
pfnote (wr_name, true, lb.buffer, cp - lb.buffer + 1,
lineno, linecharno);
+ if (debug)
+ fprintf (stderr, "%s on %s:%d: %s\n", wr_name,
+ curfdp->taggedfname, lineno, lb.buffer);
continuation = false;
}
if (alias)